package org.jeecg.modules.lab.maintain.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 仪器设备保养(维修)表
 * @Author: jeecg-boot
 * @Date:   2023-07-18
 * @Version: V1.0
 */
@Data
@TableName("lab_maintain")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lab_maintain对象", description="仪器设备保养(维修)表")
public class LabMaintain implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**设备序号*/
	@Excel(name = "设备id序号", width = 15)
    @ApiModelProperty(value = "设备id序号")
    private java.lang.String devId;
    //设备名称
    private java.lang.String devName;
	/**故障出现时间*/
	@Excel(name = "故障出现时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "故障出现时间")
    private java.util.Date faultDate;
	/**故障现象*/
	@Excel(name = "故障现象", width = 15)
    @ApiModelProperty(value = "故障现象")
    private java.lang.String faultDescription;
	/**保养(维修)时间*/
	@Excel(name = "保养(维修)时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "保养(维修)时间")
    private java.util.Date maintainDate;
	/**保养(故障)处理方式*/
	@Excel(name = "保养(故障)处理方式", width = 15)
    @ApiModelProperty(value = "保养(故障)处理方式")
    private java.lang.String maintainMethod;
	/**保养(维修)工时(h)*/
	@Excel(name = "保养(维修)工时(h)", width = 15)
    @ApiModelProperty(value = "保养(维修)工时(h)")
    private java.lang.Double maintainHours;
	/**维保人员(维修单位)*/
	@Excel(name = "维保人员(维修单位)", width = 15)
    @ApiModelProperty(value = "维保人员(维修单位)")
    private java.lang.String maintainPersonal;
	/**更换配件情况*/
	@Excel(name = "更换配件情况", width = 15)
    @ApiModelProperty(value = "更换配件情况")
    private java.lang.String replaceModule;
	/**保养(维修)内容及结果*/
	@Excel(name = "保养(维修)内容及结果", width = 15)
    @ApiModelProperty(value = "保养(维修)内容及结果")
    private java.lang.String maintainDetails;
	/**保养(维修)证明*/
	@Excel(name = "保养(维修)证明", width = 15)
    @ApiModelProperty(value = "保养(维修)证明")
    private java.lang.String maintainAtta;

    /**数据同步标识*/
    @ApiModelProperty(value = "数据同步标识")
    private java.lang.String synFlag;
}
